package com.first.xiinn.dao;

import java.util.HashMap;
import java.util.List;

import com.first.core.dao.BaseDao;
import com.first.xiinn.model.BookStatistics;

public interface BookStatisticsDao extends BaseDao<BookStatistics>{
	/**
	 * 保存书籍阅读状态
	 * @param statistics
	 * @return
	 */
	public BookStatistics saveStatistics(BookStatistics statistics );
	
	/**
	 * 根据 传入的查询条件来查询书籍阅读状态
	 * @return
	 */
	public List getStatisticsQuery(HashMap map);
}